<template>
<section>
  <el-row style="padding: 10px;">
    <el-button type="warning" @click="payType(1)">微信支付</el-button>
    <el-button type="primary" @click="payType(2)">支付宝支付</el-button>
  </el-row>
  <router-view></router-view>
</section>
</template>

<script>
  export default {
    data () {
      return {
        input: undefined
      }
    },
    methods: {
      payType (mes) {
        switch (mes) {
          case 1: this.$router.push('/back/weixin'); break
          case 2: this.$router.push('/back/alipay'); break
          default: break
        }
      }
    }

  }
</script>

<style lang="less" scoped>
section{
  text-align: left;
}
.amount{
  height: 40px;
  line-height: 40px;
}
  li{
    padding:6px 0;
  }
</style>
